﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gasco.DataAccess;

namespace Gasco.Business.Services
{
    public interface ICityService
    {
        IList<city> SearchCitiesByCountry(string keyword, int pageSize, int pageNumber, string sortBy, string sortDirection,int countryId);
        IList<Gasco.DataAccess.city> GetCitiesByCountry(int countryId);
        int CountGetAll();
        int CountGetCitiesByCountry(int countryId);
        city GetCity(int id);
        city AddCity(city c);
        void UpdateCity(city c);
        void DeleteCity(city c);
        List<city> SearchCities(string keyword, int pageSize, int pageNumber, string sortBy, string sortDirection);
        int CountSearchCities(string keyword);
    }
}
